/*-*
 * FILENAME  :
 *    $HeadURL$
 *
 * STATUS  :
 *    $Revision$
 *
 *    $Author$
 *    $Date$
 *  
 *    
 * Copyright (c) 2011 Gonalge Ltda. All rights reserved.
 *
 ****************************************************************/

package org.gonalge.rompecabeza.util;

import org.apache.commons.lang.math.NumberUtils;

/**
 * 
 * @author Geremias Gonzalez
 */

public class ValidarDatos {

    public static boolean puertoValido(String puerto) {
        int puertoInt = NumberUtils.toInt(puerto);
        return 1024 <= puertoInt && puertoInt < 65535;
    }
}
